#include "matrix.h"
#include <iostream>

matrix::matrix(int rows,int cols)
{
	this->rows=rows;
	this->cols=cols;
	elem=new complex_n*[rows];
	for(int i=0; i<rows;++i)
	{
		elem[i]=new complex_n[cols];
	}
}

matrix::~matrix()
{
	for(int i=0;i<this->rows;++i) delete[] this->elem[i];
	delete[] this->elem;
}
